package org.cary.common;

import java.io.Serializable;
import java.util.List;

public class Page<T> implements Serializable {
	private static final long serialVersionUID = 1L;

	private java.lang.Integer page;

	private java.lang.Integer per;
	private int totalPages;
	private int totalRecords;
	private List<T> results;
	
	public Page(int page,int per){
		this.page = page;
		this.per = per;
	}
	public java.lang.Integer getPage() {
		return page;
	}
	public void setPage(java.lang.Integer page) {
		this.page = page;
	}
	public java.lang.Integer getPer() {
		return per;
	}
	public void setPer(java.lang.Integer per) {
		this.per = per;
	}
	public int getTotalPages() {
		return totalPages;
	}
	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}
	public int getTotalRecords() {
		return totalRecords;
	}
	public void setTotalRecords(int totalRecords) {
		this.totalRecords = totalRecords;
	}
	public List<T> getResults() {
		return results;
	}
	public void setResults(List<T> results) {
		this.results = results;
	}
}
